package com.heima.xxljob.Test;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class xxljobTest {
    @XxlJob("xxl-job")
    public ReturnT Test1(String meages){
        System.out.println("今天吃饭了没");
        return ReturnT.SUCCESS;
    }
}
